home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8918 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: news.cs.columbia.edu!news
  2. From: bm@renoir.cs.columbia.edu (Blair MacIntyre)
  3. Newsgroups: comp.lang.modula3,comp.lang.c++,comp.lang.java
  4. Subject: Re: Java closer to Modula-3 than to C++
  5. Date: 26 Feb 1996 22:29:57 -0500
  6. Organization: Columbia University
  7. Sender: bm@renoir.cs.columbia.edu
  8. Message-ID: <xn17mx9fnt6.fsf@renoir.cs.columbia.edu>
  9. References: <31308FE2.167E@sophia.inria.fr>
  10.     <1996Feb26.192508.2614@friend.kastle.com>
  11.     <nelsoni.825385012@rintintin.Colorado.EDU>
  12. Reply-To: Blair MacIntyre <bm@cs.columbia.edu>
  13. NNTP-Posting-Host: renoir.cs.columbia.edu
  14. In-reply-to: nelsoni@rintintin.Colorado.EDU's message of 27 Feb 96 01:36:52
  15.     GMT
  16. X-Newsreader: Gnus v5.1
  17.  
  18. >>>>> On 27 Feb 96 01:36:52 GMT, nelsoni@rintintin.Colorado.EDU (Ian
  19. >>>>> S. Nelson) said:
  20.  
  21. Ian> rich@kastle.com (Richard Krehbiel) writes:
  22. >> Frederic Devernay <Frederic.Devernay@sophia.inria.fr> wrote:
  23.  
  24. >>> I wish it could widen then use of Modula-3 (I still can't understand
  25. >>> where C++ gets its success from...).
  26.  
  27. >> Oh, I think it's clear that C++ gets it's success from C.  C #includes
  28. >> and libraries can (almost always) be called upon in C++ programs.
  29. >> Nothing like that can be said of Modula-3 or Java.
  30.  
  31. Ian> There is also a lot of talk or hype still floating around that it
  32. Ian> is easy to pick up C++ from C.  C is so difficult for so many
  33. Ian> people to learn and it is mandatory for a lot of jobs and at a
  34. Ian> lot of schools.  I think a lot of people are afraid that might
  35. Ian> have to go through that again and C++ "being an 'extension' of C"
  36. Ian> sounds easier.  It's all just spins and marketing combined with
  37. Ian> lack of information.
  38.  
  39. There are other factors, the most important of them being, IMHO, the
  40. feature set of languages.
  41.  
  42. C++ give you all kinds of "control" and "power" by allowing you to
  43. apparently do all kinds of variations and nit-picky things that allow
  44. you to "optimize" your programs.
  45.  
  46. The most common reason I get for using C++, when I try to convince
  47. people that they should learn Modula-3 instead, is that C++ gives them
  48. more power and control.
  49.  
  50. It is not a question of whether these things are true, and I am not
  51. asserting they are --- I don't intend to start a language comparison
  52. war here.  It is a question of what a person new to the languages
  53. _perceives_ as true.  People perceive that C++ gives them the control
  54. they had in C, with the "cool new OOP" features that are the panacea
  55. to their problems.  Modula-3 doesn't have constructors/destructors, GC
  56. is evil because it has lots of overhead, you can do threads in C++, no
  57. multiple inheritance, C++ has exceptions now, etc etc.  People don't
  58. seem to be as concerned about things like suitability to building
  59. large programs, distributed programs, working programs, robust
  60. programs, etc etc.
  61.  
  62. Sigh.
  63. -- 
  64. Blair MacIntyre (bm@cs.columbia.edu), Graduate Student (Graphics and UI Lab)
  65.  
  66. smail: Dept. of Computer Science, 450 Computer Science Building, 500 W 120 St.
  67.        Columbia University, New York, NY 10027
  68.